package top.zhangjianyong.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.zhangjianyong.blog.entity.po.TimeLine;
import top.zhangjianyong.blog.params.timeline.*;
import top.zhangjianyong.blog.response.ApiResponse;

/**
 * @author zhangjianyong
 * @since 2025/5/20 11:11
 */
public interface TimeLineService extends IService<TimeLine> {
  ApiResponse saveOrUpdate(TimeLineSaveOrUpdateParam param);

  ApiResponse remove(TimeLineRemoveParam param);

  ApiResponse page(TimeLinePageParam param);

  ApiResponse push(TimeLinePushParam param);

  ApiResponse list(TimeLineListParam param);
}
